package com.jiancong.mapper;

import com.jiancong.domain.entity.Comment;
import com.jiancong.domain.vo.CommentVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommentMapper {
    List<CommentVo> selectCommentVoList(@Param("commentType") String commentType, @Param("articleId")Long articleId);

    List<CommentVo> getChildren(Long id);

    void save(Comment comment);
}
